Matthias Clasen [Thu, 10 Mar 2016 02:42:08 +0000 (21:42 -0500)]
inspector: Do a better job with readonly properties
Say if they are non-writable or construct-only, and also
gray out construct-only properties in the list.
Matthias Clasen [Thu, 10 Mar 2016 02:13:44 +0000 (21:13 -0500)]
GtkActionable: Improve property names
These names show up as title in the property editor
in the inspector, so we want them to look consistent
with the rest.
Matthias Clasen [Thu, 10 Mar 2016 02:01:38 +0000 (21:01 -0500)]
inspector: Minor refactoring
Break out some functions in prop-editor.c
Matthias Clasen [Thu, 10 Mar 2016 01:55:46 +0000 (20:55 -0500)]
inspector: Redo property lists a bit
Break out value types as a separate column, to make the
value column more readable.
Matthias Clasen [Thu, 10 Mar 2016 00:40:06 +0000 (19:40 -0500)]
inspector: Avoid overflow when editing doubles
The adjustment double properties allow values from -G_MAXDOUBLE
to G_MAXDOUBLE, which leads to overflow when calculating
max - min / 10. To avoid that, simply use a fixed page_size of 1.0.
Piotr Drąg [Thu, 10 Mar 2016 02:43:27 +0000 (03:43 +0100)]
Updated Polish translation
Matthias Clasen [Thu, 10 Mar 2016 00:08:46 +0000 (19:08 -0500)]
inspector: Wording changes
Align the property nicks of GtkCssNode with the column names
in the inspector node tree.
Matthias Clasen [Thu, 10 Mar 2016 00:07:32 +0000 (19:07 -0500)]
inspector: Some more cleanup
The last commit left some unused functions behind.
Matthias Clasen [Wed, 9 Mar 2016 23:58:48 +0000 (18:58 -0500)]
inspector: Remove an unncessary context menu
Now that we have the style properties on the same page again,
we don't need the context menu anymore.
Claude Paroz [Wed, 9 Mar 2016 22:09:12 +0000 (23:09 +0100)]
Updated French translation
Matthias Clasen [Wed, 9 Mar 2016 19:15:40 +0000 (14:15 -0500)]
range: Fix gadget state propagation
The contents node was not getting state updates at all, and the
trough node was missing some state updates as well, because we
were not calling update_trough_state() in all the places where
it is needed.
Carlos Garnacho [Wed, 9 Mar 2016 16:30:29 +0000 (17:30 +0100)]
wayland: Make data_source_target() an empty stub
This request actually means nothing to the upper GDK layers,
we used to preempt a GDK_SELECTION_REQUEST event, but this is too
eager, and not like things work in X11.
Originally in wayland, this event may be used for feedback purposes.
We however don't perform any mimetype-based feedback, so we can
safely ignored.
This makes data_source_send() the only place where we actually
trigger GDK_SELECTION_REQUEST, this one is conceptually the same
than the X11 selection request event.
Carlos Garnacho [Wed, 9 Mar 2016 16:28:29 +0000 (17:28 +0100)]
wayland: Allow 0-size writes in selection/dnd
It's not something we should be forbidding explicitly, definitely
no-op is not the best option.
Carlos Garnacho [Wed, 9 Mar 2016 16:27:07 +0000 (17:27 +0100)]
wayland: Clear more thoroughly the source-side data on dnd_finished
The targets should also be unset.
Carlos Garnacho [Wed, 9 Mar 2016 16:25:33 +0000 (17:25 +0100)]
wayland: Unset the source-side DnD fd after passing it to the stream
The ownership is given to the stream, so unset it here.
Lapo Calamandrei [Wed, 9 Mar 2016 16:28:16 +0000 (17:28 +0100)]
Adwaita: radiobutton and checkbutton style fixes
padding and margins tweaks and treat the hover when placed in
popovers.
Timm Bäder [Wed, 9 Mar 2016 10:15:34 +0000 (11:15 +0100)]
textview: Ensure the borders fit into the allocation
https://bugzilla.gnome.org/show_bug.cgi?id=763216
Lapo Calamandrei [Wed, 9 Mar 2016 14:35:25 +0000 (15:35 +0100)]
Adwaita: added a border to sidebars...
...hopefully when needed.
By default I assume a left hand side placement on ltr languages
and the opposite in rtl, for other placements left/right style
classes can be used.
Matthias Clasen [Wed, 9 Mar 2016 13:58:23 +0000 (08:58 -0500)]
window: Avoid excessive resizing with popovers
Under Wayland, popovers use subsurfaces, and we end up getting
configure events for these delivered to the toplevel they're in.
To avoid triggering resize loops, ignore configure events that
are not for the toplevel window itself.
https://bugzilla.gnome.org/show_bug.cgi?id=763351
Lapo Calamandrei [Tue, 8 Mar 2016 19:39:24 +0000 (20:39 +0100)]
Adwaita: regenerate css
since a bit was missing from the previous commit
Lapo Calamandrei [Tue, 8 Mar 2016 19:09:18 +0000 (20:09 +0100)]
Adwaita: add a top border to actionbars
Lapo Calamandrei [Tue, 8 Mar 2016 18:55:35 +0000 (19:55 +0100)]
Adwaita: make links on infobars visible
Marek Černocký [Tue, 8 Mar 2016 17:58:13 +0000 (18:58 +0100)]
Updated Czech translation
Marek Černocký [Tue, 8 Mar 2016 17:45:50 +0000 (18:45 +0100)]
Updated Czech translation
Stas Solovey [Tue, 8 Mar 2016 17:39:22 +0000 (17:39 +0000)]
Updated Russian translation
Takao Fujiwara [Tue, 8 Mar 2016 13:18:06 +0000 (22:18 +0900)]
Set VirtualBox USB Tablet to GDK_SOURCE_MOUSE
The virtual host assigns the name of the mouse device to
"VirtualBox USB Tablet" in VirtualBox and we'd use that device as mouse.
If not, GtkTooltip is not enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=763017
Lapo Calamandrei [Tue, 8 Mar 2016 15:06:55 +0000 (16:06 +0100)]
Adwaita: path-bar style fixes
what we used to do here doesn't really work anymore, so this adapt
to gtk+ and theme changes.
Matthias Clasen [Tue, 8 Mar 2016 13:53:18 +0000 (08:53 -0500)]
gtk-demo: Fix a typo
Matthias Clasen [Tue, 8 Mar 2016 13:52:13 +0000 (08:52 -0500)]
gtk-demo: Update foreigndrawing example some more
The scrollbar changes need to take the theme's negative margins
into account.
Lapo Calamandrei [Tue, 8 Mar 2016 13:26:28 +0000 (14:26 +0100)]
Adwaita: vertical paddings on menu
mostly to fix combobox menu positioning, looks nice anyway.
Matthias Clasen [Tue, 8 Mar 2016 13:13:56 +0000 (08:13 -0500)]
gtk-demo: Try to fix foreigndrawing scrollbars
The node hierarchy and sizing has changed with the gadgetization
of range widgets.
Lapo Calamandrei [Tue, 8 Mar 2016 13:00:01 +0000 (14:00 +0100)]
Adwaita: fix a typo
Мирослав Николић [Tue, 8 Mar 2016 08:50:33 +0000 (09:50 +0100)]
Updated Serbian translation
Мирослав Николић [Tue, 8 Mar 2016 08:48:24 +0000 (09:48 +0100)]
Updated Serbian translation
Мирослав Николић [Tue, 8 Mar 2016 08:46:13 +0000 (09:46 +0100)]
Updated Serbian translation
Balázs Úr [Tue, 8 Mar 2016 07:42:18 +0000 (07:42 +0000)]
Updated Hungarian translation
Chun-wei Fan [Tue, 8 Mar 2016 05:00:49 +0000 (13:00 +0800)]
GDK-Win32: Make update_stye_bits() available within the backend
Other portions of the GDK-Win32 backend make use of this function as
layered windows need to be disabled for GL windows and possibly other
parts, so make this function a private function that is available within
the backend.
https://bugzilla.gnome.org/show_bug.cgi?id=763285
Chun-wei Fan [Sat, 5 Mar 2016 03:34:16 +0000 (11:34 +0800)]
Win32: Disable layered windows for GL
Layered windows and GL do not work well together, so disable layered
windows when initiating a GdkGLContext, so that GtkGLArea programs can run
properly.
Also based on patch by LRN to address the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=763080
Dušan Kazik [Mon, 7 Mar 2016 20:32:48 +0000 (20:32 +0000)]
Updated Slovak translation
Piotr Drąg [Mon, 7 Mar 2016 18:54:44 +0000 (19:54 +0100)]
Updated Polish translation
Piotr Drąg [Mon, 7 Mar 2016 18:35:35 +0000 (19:35 +0100)]
Updated POTFILES.in
Matthias Clasen [Mon, 7 Mar 2016 15:50:43 +0000 (10:50 -0500)]
Fix another installed test typo
This one was causing us to install invalid .test files and thereby
breaking all continuous tests :-(
Matthias Clasen [Mon, 7 Mar 2016 12:48:29 +0000 (07:48 -0500)]
Sync default double-click time with GNOME
The default value for the double-click key in the
org.gnome.settings-daemon.peripherals.mouse schema is 400.
Use the same value as the declared default for the
gtk-double-click-time GTK+ setting, to avoid pointless
differences in corner cases.
https://bugzilla.gnome.org/show_bug.cgi?id=720950
Matthias Clasen [Mon, 7 Mar 2016 12:35:36 +0000 (07:35 -0500)]
wayland: Implement gtk-keynav-use-caret setting
This is anticipating the gsetting that will be introduced in
https://bugzilla.gnome.org/show_bug.cgi?id=763123
Matthias Clasen [Mon, 7 Mar 2016 12:28:56 +0000 (07:28 -0500)]
Fix a typo
This was causing the tools tests to not be installed and,
consequently, never run on continuous.
Daniel Mustieles [Mon, 7 Mar 2016 10:55:19 +0000 (10:55 +0000)]
Updated Spanish translation
Daniel Mustieles [Mon, 7 Mar 2016 10:54:56 +0000 (10:54 +0000)]
Updated Spanish translation
Марко М. Костић [Mon, 7 Mar 2016 10:43:07 +0000 (11:43 +0100)]
Updated Serbian translation
Rafael Fontenelle [Mon, 7 Mar 2016 05:43:39 +0000 (05:43 +0000)]
Updated Brazilian Portuguese translation
Matthias Clasen [Mon, 7 Mar 2016 01:41:28 +0000 (20:41 -0500)]
inspector: UI refresh
The sidebar in the object page was using up more space than it deserves.
Replace it with a combo box in the subheader. Now that we have more space,
put the CSS node tree and the style properties in the same page again.
Matthias Clasen [Mon, 7 Mar 2016 02:41:46 +0000 (21:41 -0500)]
inspector: Drop the per-object CSS editor
The global editor is good enough for all uses.
Cosimo Cecchi [Sun, 6 Mar 2016 19:08:49 +0000 (11:08 -0800)]
range: remove unneeded gtk_widget_queue_draw()
Cosimo Cecchi [Sun, 6 Mar 2016 18:51:29 +0000 (10:51 -0800)]
range: rename function
The function queues an allocation now, not a draw.
Cosimo Cecchi [Sun, 6 Mar 2016 18:41:34 +0000 (10:41 -0800)]
range: remove duplicated code
This is already called by range_grab_add().
Cosimo Cecchi [Sun, 6 Mar 2016 18:36:43 +0000 (10:36 -0800)]
scale: trivial code cleanup
Cosimo Cecchi [Sun, 6 Mar 2016 08:27:58 +0000 (00:27 -0800)]
scale: deprecate value-spacing style property
Nothing uses it now.
Cosimo Cecchi [Sun, 6 Mar 2016 05:08:47 +0000 (21:08 -0800)]
scale: port scale values to gadgets
And add a default color like it was before.
This also fixes other issues with scale values interacting with scale
mark labels, which were buggy at least since 3.18.
Balázs Úr [Sun, 6 Mar 2016 18:27:26 +0000 (18:27 +0000)]
Updated Hungarian translation
Matthias Clasen [Sun, 6 Mar 2016 15:23:49 +0000 (10:23 -0500)]
Minor documentation improvement
https://bugzilla.gnome.org/show_bug.cgi?id=583780
Matthias Clasen [Sun, 6 Mar 2016 04:41:10 +0000 (23:41 -0500)]
spin button: Limit the entry width to reasonable values
When opening the value editor for any GtkAdjustment properties
in the inspector, the popover stretches out for miles, since
it reserves enough space to draw MAXDOUBLE. This is not useful.
Limit the space we reserve to 8 digits.
Matthias Clasen [Sun, 6 Mar 2016 04:36:54 +0000 (23:36 -0500)]
gtk-demo: Use <accelerator>
Add an example of <accelerator> use in the builder example.
Matthias Clasen [Sun, 6 Mar 2016 04:34:50 +0000 (23:34 -0500)]
builder: Allow 'primary' as a modifier value
Support aliases for flags values in GtkBuilder, and use this
to support the special value 'primary' for GdkModifierType
values.
https://bugzilla.gnome.org/show_bug.cgi?id=699891
Cosimo Cecchi [Sun, 6 Mar 2016 03:08:14 +0000 (19:08 -0800)]
range: simplify calculation
Cosimo Cecchi [Sun, 6 Mar 2016 03:07:55 +0000 (19:07 -0800)]
range: move declarations to inner block
Where they're needed.
Cosimo Cecchi [Sun, 6 Mar 2016 03:04:41 +0000 (19:04 -0800)]
range: use a fixed offset for mark "snap" size
Instead of making it dependent on the slider size.
Cosimo Cecchi [Sun, 6 Mar 2016 02:56:14 +0000 (18:56 -0800)]
Revert "range: use border box for slider area"
Since it causes problems with event coordinates.
This reverts commit
0883ff5eedf73b1197f2a49fb7e55ce227917335.
Anders Jonsson [Sat, 5 Mar 2016 23:03:05 +0000 (23:03 +0000)]
Updated Swedish translation
Matej Urbančič [Sat, 5 Mar 2016 21:37:17 +0000 (22:37 +0100)]
Updated Slovenian translation
Matej Urbančič [Sat, 5 Mar 2016 21:33:50 +0000 (22:33 +0100)]
Updated Slovenian translation
Matthias Clasen [Sat, 5 Mar 2016 20:48:40 +0000 (15:48 -0500)]
Make the settings test fail
Small thinko: We only get to see the test artifacts in
continuous if the test fails. So make it fail, temporarily.
Cosimo Cecchi [Sat, 5 Mar 2016 20:04:52 +0000 (12:04 -0800)]
Adwaita: fix glitch in fine-tune scrollbar theming
The fine-tune mode should not change the overall dimensions of the
scrollbar.
Stas Solovey [Sat, 5 Mar 2016 19:56:37 +0000 (19:56 +0000)]
Updated Russian translation
Matej Urbančič [Sat, 5 Mar 2016 19:56:06 +0000 (20:56 +0100)]
Updated Slovenian translation
Matej Urbančič [Sat, 5 Mar 2016 19:49:05 +0000 (20:49 +0100)]
Updated Slovenian translation
Aurimas Černius [Sat, 5 Mar 2016 19:37:17 +0000 (21:37 +0200)]
Updated Lithuanian translation
Paolo Borelli [Sat, 5 Mar 2016 18:02:15 +0000 (19:02 +0100)]
win32: use a struct for the event source
This removes the event_poll_fd global variable and the (ab)use of
get_default_display. It is also more consistent with other backends.
Also store display
Paolo Borelli [Sat, 5 Mar 2016 18:43:32 +0000 (19:43 +0100)]
win32: fix "unused variable" warning
Rafael Fontenelle [Sat, 5 Mar 2016 19:05:56 +0000 (19:05 +0000)]
Updated Brazilian Portuguese translation
Matthias Clasen [Sat, 5 Mar 2016 18:47:41 +0000 (13:47 -0500)]
testsuite: Remove a test that isn't valid with csd
With csd, the allocation of the window will be larger than the
default size, since it includes borders and decorations. Just
remove this check.
Matthias Clasen [Sat, 5 Mar 2016 18:41:47 +0000 (13:41 -0500)]
Add a test that dumps settings
This is not much of a test, tbh. But it will give us a convenient
dump of all GTK+ settings in continuous, which helps with tracking
down test failures that might depend on settings.
Matthias Clasen [Sat, 5 Mar 2016 17:15:42 +0000 (12:15 -0500)]
status icon: Prevent size dithering
We're seeing loops where the size of some status icons constantly
dithers between 24 and 25. Since I couldn't track down exactly
where the one extra pixel comes from, just stop reacting
to single-pixel size changes.
https://bugzilla.gnome.org/show_bug.cgi?id=758893
Matthias Clasen [Sat, 5 Mar 2016 17:11:05 +0000 (12:11 -0500)]
Minor cleanup
The GtkStatusIcon::size-changed signal expects a boolean return.
Matthias Clasen [Sat, 5 Mar 2016 15:39:07 +0000 (10:39 -0500)]
Update a11y test output
These tests can now assume that the csd header bar will be there.
Matthias Clasen [Sat, 5 Mar 2016 15:38:23 +0000 (10:38 -0500)]
Run accessibility tests always with CSD
This avoids differences in the output that are caused
by the presence or absence of the header bar.
Piotr Drąg [Sat, 5 Mar 2016 13:47:17 +0000 (14:47 +0100)]
Updated Polish translation
Rūdolfs Mazurs [Sat, 5 Mar 2016 10:36:09 +0000 (12:36 +0200)]
Update Latvian translation
Matthias Clasen [Sat, 5 Mar 2016 05:35:08 +0000 (00:35 -0500)]
inspector: Avoid pointless selections
The CSS selector and the class hierarchy are purely
informative, no need to select anything here.
Matthias Clasen [Sat, 5 Mar 2016 05:34:39 +0000 (00:34 -0500)]
inspector: More grid lines
I had forgotten the css property list.
Matthias Clasen [Sat, 5 Mar 2016 05:29:06 +0000 (00:29 -0500)]
inspector: Some ui refinements
Remove pointless expanders from lists, add grid lines and,
in some places, tree lines.
Matthias Clasen [Sat, 5 Mar 2016 04:51:39 +0000 (23:51 -0500)]
Update expected output of a11y tests
The window type attribute shows up here now.
The caret mode changes also affect some tests.
Matthias Clasen [Sat, 5 Mar 2016 04:50:50 +0000 (23:50 -0500)]
a11y: Expose window type hint as attribute
This was an old request, maybe still useful.
https://bugzilla.gnome.org/show_bug.cgi?id=468122
Matthias Clasen [Sat, 5 Mar 2016 03:39:31 +0000 (22:39 -0500)]
messagedialog: Respect the gtk-keynav-use-caret setting
We used to always make the labels in message dialogs selectable,
which is a bit problematic wrt. to keynav - the label can
unexpectedly 'turn blue', which irritates some people.
With the new gtk-keynav-use-caret setting, we can now only
make the labels selectable when it is required for accessibilty
reasons.
Matthias Clasen [Sat, 5 Mar 2016 03:30:51 +0000 (22:30 -0500)]
gdk: Add an X setting for gtk-keynav-use-caret
This will let us toggle the use-caret setting session-wide.
Matthias Clasen [Sat, 5 Mar 2016 03:27:02 +0000 (22:27 -0500)]
text view: Respect gtk-keynav-use-caret
When the gtk-keynav-use-caret setting is TRUE, make the cursor
visible regardless of the cursor-visible property.
Matthias Clasen [Sat, 5 Mar 2016 03:25:37 +0000 (22:25 -0500)]
Add a gtk-keynav-use-caret mode setting
For accessibility reasons, it is useful to have a global setting
that makes carets visible in all text.
https://bugzilla.gnome.org/show_bug.cgi?id=602526
https://bugzilla.gnome.org/show_bug.cgi?id=762799
Cosimo Cecchi [Sat, 5 Mar 2016 02:11:30 +0000 (18:11 -0800)]
range: avoid setting slider coordinates to negative numbers
This can happen if the theme sets a negative margin, but the coordinate
should never be negative.
Cosimo Cecchi [Sat, 5 Mar 2016 01:59:39 +0000 (17:59 -0800)]
range: factor out a function
We're going to modify this in the next commit.
Matthias Clasen [Sat, 5 Mar 2016 01:49:10 +0000 (20:49 -0500)]
gtk-demo: Fix up the inline-toolbar example
The inline toolbar in the style classes demo should use
the icons toolbar-style to ensure that the buttons are square.
Matthias Clasen [Sat, 5 Mar 2016 01:48:13 +0000 (20:48 -0500)]
tool button: Update style classes
When changing tool button contents according to the toolbar-style
property, we need to update the style classes to ensure that the
visual style matches.
https://bugzilla.gnome.org/show_bug.cgi?id=760560
Cosimo Cecchi [Sat, 5 Mar 2016 01:28:04 +0000 (17:28 -0800)]
range: fix warning for gadget slider
The slider is not HFW/WFH - just pass -1 to get rid of the warnings.